import http from '@http/http'

export const _getUserInfo = (errMsg) => http.GET('/api/auth/userInfo', {}, errMsg)
// 分页查
// export const hotelList = (obj) => http.GET('/api/hotel/', obj)
// 删除
export const hotelPoint = () => http.GET('/api/hotel/show')
export const selectByName = (name) => http.GET('/api/hotel/selectByName?name=' + name)
export const hotelOne = (id) => http.GET('/api/hotel/one?id=' + id)
export const hotelComment = (id) => http.GET('/api/hComment/comment?id=' + id)
export const houseType = () => http.GET('/api/houseDetail/show')
export const orderNow = (data) => http.GET('/api/houseDetail/orderNow', data)
